package com.fyy.content.mapper;

import com.fyy.content.model.dto.CourseCategoryTreeDTO;
import com.fyy.content.model.po.CourseCategoryPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 课程分类 Mapper 接口
 * </p>
 *
 * @author fyy
 */
public interface CourseCategoryMapper extends BaseMapper<CourseCategoryPO> {

    //递归查询分类
    public List<CourseCategoryTreeDTO> selectTreeNodes(String id);

}
